#!/bin/sh

VERSION="0.2.2"

rm ./*.tar.gz
tar -czf pyfupload-${VERSION}.tar.gz pyfuploader/*.py pyfuploader/*.glade pyfuploader/*.png PKG-INFO README setup.py pyfupload.py
rm /usr/_port/distfiles/pyfupload-${VERSION}.tar.gz
cp ./pyfupload-${VERSION}.tar.gz /usr/_port/distfiles/
#emerge -C pyfupload
rm /usr/local/portage/mine/net-ftp/pyfupload/Manifest
ebuild /usr/local/portage/mine/net-ftp/pyfupload/pyfupload-${VERSION}.ebuild digest
#emerge pyfupload